Method ExecuteOptimizedWhereHasDescendant<TProps>(TreeQueryContext<TProps>, TreeFilter)

Assembly: redb.Core.dll

Optimized execution of WhereHasDescendant through logic inversion:

Find descendants with condition
Get their parents (via Parent/Ancestor chain)
Apply remaining filters

protected Task<List<TreeRedbObject<TProps>>> ExecuteOptimizedWhereHasDescendant<TProps>(TreeQueryContext<TProps> context, TreeFilter hasDescendantFilter) where TProps : class, new()